<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <title>51问医生</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    {{--<link rel="shortcut icon" href="/Public/mobile/favicon.ico" type="image/x-icon" />--}}
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-status-bar-style" content="yes"/>
    <link rel="stylesheet" href="{{url('new/css/common.css')}}" />

    <script src="{{url('new/js/doctor_list.js')}}"></script>
    {{--<script src="http://mcdn.anxinyisheng.com/Public/mobile/js/lib_5d2f194.js"></script>--}}
    {{--<script src="http://mcdn.anxinyisheng.com/Public/mobile/js/app_7282afb.js"></script>--}}
    <link rel="stylesheet" href="{{url('new/css/usercenter.css')}}" />
    <style>
        .mine .right p span {
            display: block;
        }
    </style>
</head>
<body>
<div class="card ax-boxshadow">
    <div class="card-img">
        <img src="@if($userinfo){{route('Api.Image.Show',['id'=>$userinfo->doc_img])}}@else{{route('Api.Image.Show',['id'=>0])}}@endif" />
    </div>
    <p class="card-right">
        @if(!$userinfo || ($userinfo && is_null($userinfo->doc_name)))
            <a href="{{route('M.Doctor.userCenterSet')}}"><span class="phone">点击设置医生姓名</span></a>
        @else
        <span class="name">{{$userinfo->doc_name}}</span>
        @endif
</div>
<div class="coupon ax-boxshadow">
    <img class="coupon-appt" src="{{url('new/images/userinfo.png')}}" />
    <a href="{{route('M.Doctor.userCenterSet')}}">
    <span>设置医生信息</span>
    </a>
</div>
<div class="coupon ax-boxshadow">
    <img class="coupon-appt" src="{{url('new/images/seting.png')}}" />
    <a href="{{route('M.Doctor.setAppolitment')}}">
        <span>设置出诊时间</span>
    </a>
</div>
<div class="ax-boxshadow mine">
    <div class="left" style="width: 50%">
        <img src="{{url('new/images/allmoney.png')}}" />
        <a href="{{route('M.Home.newUserCenterSet')}}">
        <p>
            <span class="myvip" style="color:rgba(0,0,0,.87);">￥@if($userinfo){{$userinfo->all_amount}}@endif</span>
            <span class="date">总收入</span>
        </p>
        </a>
    </div>
    <div class="right" style="width: 50%;">
        <img src="{{url('new/images/tixian.png')}}" />
        <p>
            <span style="line-height: .666666666666667rem;">￥@if($userinfo){{$userinfo->has_amount}}@endif</span>
            <span style="line-height: .533333333333333rem;font-size: .32rem;color: rgba(0,0,0,.54);">可提现</span>
        </p>
    </div>
</div>
<div class="ax-boxshadow mine">
    <div class="left" style="width: 50%">
        <img src="{{url('new/images/shouru01.png')}}" />
        <a href="{{route('M.Home.newUserCenterSet')}}">
            <p>
                <span class="myvip" style="color:rgba(0,0,0,.87);">￥@if($userinfo){{$appoint_sum}}@endif</span>
                <span class="date">预约收入</span>
            </p>
        </a>
    </div>
    <div class="right" style="width: 50%;">
        <img src="{{url('new/images/shouru02.png')}}" />
        <p>
            <span style="line-height: .666666666666667rem;">￥@if($userinfo){{$face_sum}}@endif</span>
            <span style="line-height: .533333333333333rem;font-size: .32rem;color: rgba(0,0,0,.54);">面诊收入</span>
        </p>
    </div>
</div>
<a href="{{route('M.Doctor.orderList')."?model=2"}}">
<div class="coupon ax-boxshadow">
    <img class="coupon-appt" src="{{url('new/images/mianzhen.png')}}" />
    <span>面诊记录</span>
  <span class="arrow-right">
    <svg>
        <use xlink:href="#arrow_right"></use>
    </svg>
  </span>
</div>
</a>
<a href="http://meeting.51wenyisheng.com/#/myActivity">
    <div class="coupon ax-boxshadow">
        <img class="coupon-appt" src="{{url('new/images/dd8a62f39217012bba0f689026aceeb.png')}}" />
        <span>我的会议</span>
        <span class="arrow-right">
    <svg>
        <use xlink:href="#arrow_right"></use>
    </svg>
  </span>
    </div>
</a>
<a href="{{route('M.Doctor.orderList')."?model=1"}}">
<div class="coupon ax-boxshadow coupon-appts" ui-sref="home.apptOrderList({auth:auth,wx:wx})">
    <svg class="coupon-appt">
        <use xlink:href="#appt"></use>
    </svg>
    <span>预约记录</span>
  <span class="arrow-right">
    <svg>
        <use xlink:href="#arrow_right"></use>
    </svg>
  </span>
</div>
</a>
<a href="{{route('M.Doctor.myPatients')}}">
    <div class="coupon ax-boxshadow coupon-appts" ui-sref="home.apptOrderList({auth:auth,wx:wx})">
        <img class="coupon-appt" src="{{url('new/images/patient.png')}}" />
        <span>我的患者（{{$patientCount}}个）</span>
        <span class="arrow-right"></span>
    </div>
</a>
<a href="{{route('M.Doctor.myQuestions')}}">
<div class="coupon ax-boxshadow coupon-orders">
    <img class="coupon-appt" src="{{url('new/images/qa.png')}}" />
    <span>收到的问题</span>
  <span class="arrow-right">
    <svg>
        <use xlink:href="#arrow_right"></use>
    </svg>
  </span>
</div>
</a>
@if($userinfo && $userinfo->qrcode_id != 0)
<div class="coupon ax-boxshadow coupon-orders">
    <a href="{{route('M.Doctor.myQrcode')}}">
    <img class="coupon-appt" src="{{url('new/images/qrcode.png')}}" />
    <span>我的二维码</span>
    <span class="arrow-right">
    <svg>
        <use xlink:href="#arrow_right"></use>
    </svg>
  </span>
    </a>
</div>
@endif
<a href="http://cn.mikecrm.com/JvQs5Mv">
    <div class="coupon ax-boxshadow coupon-orders">
        <img class="coupon-appt" src="{{url('new/images/mianzhen.png')}}" />
        <span>医院转诊</span>
  <span class="arrow-right">
    <svg>
        <use xlink:href="#arrow_right"></use>
    </svg>
  </span>
    </div>
</a>
<svg>
    <symbol id="appt" viewBox="-1 -1 50 51">
        <title>icon/预约记录（个人中心，48*48）</title>
        <defs>
            <rect id="aca" x="3" y="5" width="42" height="41" rx="7" />
            <mask id="acb" x="0" y="0" width="42" height="41" fill="#fff">
                <use xlink:href="#aca" /></mask>
        </defs>
        <g fill="none" fill-rule="evenodd">
            <use stroke="#ABA494" mask="url(#acb)" stroke-width="4" xlink:href="#aca" />
            <rect fill="#ABA494" x="14" y="2" width="2" height="8" rx="1" />
            <rect fill="#ABA494" x="32" y="2" width="2" height="8" rx="1" />
            <path d="M3 15h42" stroke="#ABA494" stroke-width="2" />
            <path d="M32.914 21.994L23.67 38.007c-.067.2-.167.387-.33.534-.537.507-1.38.48-1.883-.053L15.36 32.86c-.503-.533-.475-1.386.062-1.88.537-.506 1.38-.48 1.885.054l4.77 4.4 8.528-14.773c.368-.626 1.182-.853 1.82-.48.638.36.857 1.187.49 1.814z" stroke="#EA8F90" stroke-width="1.333" fill="#EA8F90" /></g>
    </symbol>
</svg>
</body>
</html>